import request from "@/utils/request";

/**
 * 列表
 * @param data
 * @returns {AxiosPromise}
 */
export function listWorkerOrdSettlem(data) {
    return request({
        url: '/wbzj-biz/wkordSettlem/worker/getPageList',
        method: 'post',
        data: data
    })
}

/**
 * 修改
 * @param orderId
 * @returns {AxiosPromise}
 */
export function getWorkerOrdSettlem(orderId) {
    return request({
        url: '/wbzj-biz/wkordSettlem/worker/'+orderId,
        method: 'get'
    })
}

export function workerSettlem(data) {
    return request({
        url: '/wbzj-biz/wkordSettlem/worker/settlem',
        method: 'post',
        data: data
    })
}